<%@ page pageEncoding="UTF-8"%>
<%@page import="java.util.ArrayList"%>
<%@page import="com.base.DatabaseObject"%>
<%@page import="com.base.DatabaseDAO"%>
<%@page import="com.base.Config"%>
<%@page import="java.math.BigDecimal"%>
<%@page import="com.utils.LOBs"%>
<%@page import="java.sql.Clob"%>

<%@include file="inc-header.jsp"%><!-- MAIN CONTENT -->
<div class="box bottom10">
	<%@include file="inc-nav-header.jsp"%>
	<%
	String sId = Utils.getParam(request, "id", "41");
	String sPage = Utils.getParam(request, "page", "1");
	//DatabaseObject lottery = contentDAO.getLotterType(new BigDecimal(sId));
	//int currPage = Integer.parseInt(sPage);
	//int rowsPerPage = 7;
	
	%>
	<div class="tab2">
		<%@include file="dichvu-adv.jsp" %> >>
		<a href="lottery.jsp?act=dv">Xổ số</a> 
	</div>
	<!--end .tab2-->
	<!-- BODY CONTENT -->
	<div class="box clearfix">

		<div class="table">
			<table cellpadding="0" cellspacing="0" border="0" width="100%">
				<tbody>
				<tr>
		            </tr>
		        </tbody>
		    </table>
		</div><!--end .table-->
	</div>
	<div class="box clearfix">
		<div class="title">
			<h3>
				<strong></strong>
			</h3>
			<%
			if (!StringTool.isEmptyOrNul(sId)) {
			ArrayList<DatabaseObject> weatherList = contentDAO.getListLotteryType();
			for (DatabaseObject lotteryType : weatherList) {%>
			<li>
				<img src="images/icon-list.png" alt="">
				<a href="lotteryBrand.jsp?id=<%=lotteryType.getAttribute().get("lottery_type_id") %>"> <%=lotteryType.getAttribute().get("name") %> </a>
			</li>
		<%}}%>
		</div>
	</div>
	<!-- END BODY CONTENT -->
</div>
<!--end .box bottom10-->
<%@include file="inc-nav-bottom.jsp"%>
<!-- END MAIN CONTENT -->
<%@include file="inc-footter.jsp"%>
